const Router = require('koa-router')
const router = new Router()

const routers = router
  .get('/', async(ctx, next) => {
    let title = '这个是首页'
    ctx.session = null
    await ctx.render('home/index', {
        title,
        word: '这个是首页',
        ejs: '这个是首页'
    })
})

module.exports = routers